back · tests/sessions.spec.js:48:2 / isolation
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('article').filter({ has: getByRole('heading', { name: 'Session α' }) }).getByRole('button', { name: 'Gérer' })
at deleteSession (tests/utils/sessions.js:122:4)
at tests/sessions.spec.js:60:3
Test timeout of 60000ms exceeded.
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:137:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: expect(locator).toBeVisible() failed
Locator: getByText('(.zip)')
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for getByText('(.zip)')
at importPhotos (tests/utils/photos.js:32:41)
at tests/sessions.spec.js:55:9
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures/app.ts:167:16)
at Object.forEachTest (tests/fixtures/foreachtest.ts:131:16)
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('app-nav').getByRole('link', { name: 'Importer' })
at goToTab (tests/utils/navigation.js:98:31)
at Object.go (tests/fixtures.ts:409:33)
at tests/sessions.spec.js:49:18
Error: page.evaluate: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at dumpDatabase (tests/utils/database.js:61:33)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:568:18)
Test timeout of 60000ms exceeded.
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('textbox', { name: 'Nom de la session' })
at newSession (tests/utils/sessions.js:49:17)
at tests/sessions.spec.js:48:3
Test timeout of 60000ms exceeded.
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:222:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:561:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForTimeout: Test ended.
at waitUntilLastAppears (tests/utils/photos.js:103:15)
at importPhotos (tests/utils/photos.js:58:13)
at tests/sessions.spec.js:50:3
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByTestId('goto-home')
at goHome (tests/utils/navigation.js:22:38)
at newSession (tests/utils/sessions.js:28:8)
at tests/sessions.spec.js:48:9
Error: page.evaluate: InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at dumpDatabase (tests/utils/database.js:61:33)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:528:18)
Test timeout of 60000ms exceeded.
Test timeout of 90000ms exceeded while running "beforeEach" hook.
at tests/sessions.spec.js:20:7
Error: page.waitForFunction: Test timeout of 90000ms exceeded.
at Object.ready (tests/fixtures.ts:204:17)
at Object.base.extend.forEachTest.auto (tests/fixtures.ts:521:18)
Error: expect(locator).not.toBeVisible() failed
Locator: getByText('Session α', { exact: true })
Expected: not visible
Error: strict mode violation: getByText('Session α', { exact: true }) resolved to 2 elements:
1) <a href="/sessions/s0q1veih" data-testid="goto-current-session" class="session-link svelte-1nmekgl">…</a> aka getByTestId('goto-current-session')
2) <strong>Session α</strong> aka getByRole('strong')
Call log:
- Expect "not toBeVisible" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
at tests/sessions.spec.js:59:66
Error: expect(locator).toHaveCount(expected) failed
Locator: getByText('Session α', { exact: true })
Expected: 0
Received: 1
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
14 × locator resolved to 1 element
- unexpected value "1"
at tests/sessions.spec.js:59:62
Error: expect(locator).toHaveCount(expected) failed
Locator: getByText('Session α', { exact: true })
Expected: 0
Received: 1
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
14 × locator resolved to 1 element
- unexpected value "1"
at tests/sessions.spec.js:59:62
Error: expect(locator).toHaveCount(expected) failed
Locator: getByText('Session α', { exact: true })
Expected: 0
Received: 1
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
14 × locator resolved to 1 element
- unexpected value "1"
at tests/sessions.spec.js:59:62
Error: expect(locator).not.toBeVisible() failed
Locator: getByText('Session α', { exact: true })
Expected: not visible
Error: strict mode violation: getByText('Session α', { exact: true }) resolved to 2 elements:
1) <a href="/sessions/sky30p4g" data-testid="goto-current-session" class="session-link svelte-1nmekgl">…</a> aka getByTestId('goto-current-session')
2) <strong>Session α</strong> aka getByRole('main').getByText('Session α')
Call log:
- Expect "not toBeVisible" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
at tests/sessions.spec.js:59:66
Error: expect(locator).not.toBeVisible() failed
Locator: getByText('Session α', { exact: true })
Expected: not visible
Error: strict mode violation: getByText('Session α', { exact: true }) resolved to 2 elements:
1) <a href="/sessions/swmsyj4l" data-testid="goto-current-session" class="session-link svelte-1nmekgl">…</a> aka getByTestId('goto-current-session')
2) <strong>Session α</strong> aka getByRole('main').getByText('Session α')
Call log:
- Expect "not toBeVisible" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
at tests/sessions.spec.js:59:66
Error: expect(locator).not.toBeVisible() failed
Locator: getByText('Session α', { exact: true })
Expected: not visible
Error: strict mode violation: getByText('Session α', { exact: true }) resolved to 2 elements:
1) <a href="/sessions/sut0buns" data-testid="goto-current-session" class="session-link svelte-1nmekgl">…</a> aka getByTestId('goto-current-session')
2) <strong>Session α</strong> aka getByRole('strong')
Call log:
- Expect "not toBeVisible" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
at tests/sessions.spec.js:59:66
Error: expect(locator).not.toBeVisible() failed
Locator: getByText('Session α', { exact: true })
Expected: not visible
Error: strict mode violation: getByText('Session α', { exact: true }) resolved to 2 elements:
1) <a href="/sessions/suzww99r" data-testid="goto-current-session" class="session-link svelte-1nmekgl">…</a> aka getByTestId('goto-current-session')
2) <strong>Session α</strong> aka getByRole('main').getByText('Session α')
Call log:
- Expect "not toBeVisible" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
at tests/sessions.spec.js:59:66
Error: expect(locator).not.toBeVisible() failed
Locator: getByText('Session α', { exact: true })
Expected: not visible
Error: strict mode violation: getByText('Session α', { exact: true }) resolved to 2 elements:
1) <a href="/sessions/s5gm7r0z" data-testid="goto-current-session" class="session-link svelte-1nmekgl">…</a> aka getByTestId('goto-current-session')
2) <strong>Session α</strong> aka getByRole('main').getByText('Session α')
Call log:
- Expect "not toBeVisible" with timeout 5000ms
- waiting for getByText('Session α', { exact: true })
at tests/sessions.spec.js:59:66